package com.ashin.controller;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Ashin
 * @Date: 2021/9/2
 * @Description: com.ashin.controller
 * @Version: 1.0.0
 */
@RestController
public class HelloController {


    @RequestMapping("/hello")
//    @SentinelResource("hello")
    public String hello() {
        return "hello sentinel";
    }
}
